592267be4397bcacb15790d7ef4e50999fec4f91,jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsAnnotationProcessor.java,JaxrsAnnotationProcessor,deploy,#DeploymentPhaseContext#,44
Before Change
if (deploymentUnit.getParent() == null) {
//register resource, provider and application as CDI annotation defining types
deploymentUnit.addToAttachmentList(WeldAttachments.INJECTION_TARGET_DEFINING_ANNOTATIONS, new AnnotationType(JaxrsAnnotations.PROVIDER.getDotName(), false));
deploymentUnit.addToAttachmentList(WeldAttachments.INJECTION_TARGET_DEFINING_ANNOTATIONS, new AnnotationType(JaxrsAnnotations.PATH.getDotName(), false));
}
After Change
if (deploymentUnit.getParent() == null) {
//register resource, provider and application as CDI annotation defining types
deploymentUnit.addToAttachmentList(INJECTION_TARGET_DEFINING_ANNOTATIONS, JaxrsAnnotations.PROVIDER.getDotName());
deploymentUnit.addToAttachmentList(INJECTION_TARGET_DEFINING_ANNOTATIONS, JaxrsAnnotations.PATH.getDotName());
}